import React, {Component} from 'react';
import './Button.scss';
// 无状态组件

export default (props) => {
  props = {
    color: 'default',
    children: '按钮',
    ...props
  }
  return (
    <button className={`btn btn-${props.color}`}>
      {props.children}
    </button>
  )
}
